﻿using EYCmsAdmin.Domain.Models;
using EYCmsAdmin.Presentation.Models;
using EYCmsAdmin.Presentation.Models.BaseModels;

namespace EYCmsAdmin.Presentation.Mappers
{
    public static class RoleMapper
    {
        public static void MapTo(this RoleModel source, Role role)
        {
            role.Id = source.Id;
            role.Name = source.Name;
        }
    }
}